home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / bbsdoors / valen110.zip / INTPROT.CFG < prev    next >
Text File  |  1993-04-01  |  4KB  |  108 lines

  1. ; :::: INTPROT.CFG ::::
  2.  
  3. ; Valence reads the protocol definitions for external protocols from
  4. ; CONFIG.SL2, but it doesn't have Searchlight's internal protocols. Instead,
  5. ; when someone uses one of the "internal" protocols, Valence calls it just
  6. ; like an external. This file allows you to define the command lines used
  7. ; for "internal" protocols.
  8.  
  9. ; With version 1.1 of Valence, this file has become less important, since
  10. ; Valence now scans automatically for ZMODEM.EXE, GSZ.EXE, DSZ.COM and
  11. ; DSZ.EXE. But if you want Valence to use a different driver than it
  12. ; otherwise would, INTPROT.CFG is the way. Even if you don't want to use a
  13. ; different driver, you may get a SLIGHT reduction in the amount of disk
  14. ; access by Valence by defining the driver here, with its full pathname.
  15. ; Otherwise, you can delete this file.
  16.  
  17. ; The two definition sets here are the same as Valence's internal defaults.
  18. ; Only one of these at a time may be uncommented in INPROT.CFG. Please note,
  19. ; if you only want to change one protocol, you only need uncomment that one.
  20.  
  21. ; If, for some reason, you want separate definitions for different nodes,
  22. ; you can copy this file to files named INTPR%o.CFG, where "%o" is the node
  23. ; number for each node. INTPR%o.CFG will be checked first; if not found,
  24. ; Valence defaults to INTPROT.CFG. If INTPROT.CFG is not found, internal
  25. ; definitions are used.
  26.  
  27. ; Defining the protocols is very simple; they work just like Searchlight's
  28. ; external protocols, with metachars, @files, and so on. They are always run
  29. ; from Valence's work directory.
  30.  
  31. ; The "End IntProt" lines are completely ignored by Valence, and are
  32. ; included only for (I hope) added clarity, and symmetry with COMPRESS.CFG.
  33. ; For more info on the format of this file and Valence's handling of EXEC
  34. ; shelling, please see VALENCE.ORG and my included COMPRESS.CFG.
  35.  
  36. ; *** Definition Set 1 ***
  37.  
  38. ; My default DSZ definitions seem to work where I've tested them, but I know
  39. ; they're not optimized. Deciphering the DSZ manual is a thankless task...
  40.  
  41. ;IntProt    1                    ;Internal protocol number 1 (Xmodem)
  42.  
  43. ; This substitutes for Internal Xmodem. In Searchlight versions under 3.0,
  44. ; this and the next two definitions are hardwired and are always the first
  45. ; three protocols on the list. In version 3.0 and higher, they may appear
  46. ; anywhere in the list, or not at all, as you choose.
  47.  
  48. ;  Name     Xmodem
  49. ;  SendCmd  dsz.com port %p sx %f
  50. ;  RcvCmd   dsz.com port %p rx %f
  51. ;End IntProt
  52.  
  53. ;IntProt    2                    ;Internal protocol number 2 (Xmodem/CRC)
  54. ;  Name     Xmodem/CRC
  55. ;  SendCmd  dsz.com port %p sx %f
  56. ;  RcvCmd   dsz.com port %p rc %f
  57. ;End IntProt
  58.  
  59. ;IntProt    3                    ;Internal protocol number 3 (Xmodem/1k)
  60. ;  Name     Xmodem/1k
  61. ;  SendCmd  dsz.com port %p sx -k %f
  62. ;  RcvCmd   dsz.com port %p rc %f
  63. ;End IntProt
  64.  
  65. ;IntProt    4                    ;Internal protocol number 4 (Zmodem)
  66.  
  67. ; This is used in place of Internal Zmodem in Searchlight versions 3.0 and
  68. ; up. Note Internal protocol number 4 is not used by Searchlight versions
  69. ; under 3.0.
  70.  
  71. ;  Name     Zmodem
  72. ;  SendCmd  dsz.com port %p sz -r %f
  73. ;  RcvCmd   dsz.com port %p rz -ry
  74. ;End IntProt
  75.  
  76. ; *** Definition Set 2 ***
  77.  
  78. ; The second set uses Frank LaRosa's new ZMODEM.EXE. If you have it, I
  79. ; recommend using it, since it SHOULD be identical to the REAL Searchlight
  80. ; internal protocols. Notice the use of "%e" in the definitions below; this
  81. ; is a metacharacter I invented just for ZMODEM.EXE, which translates into
  82. ; the directory of the current node's CONFIG.SL2 (the same value as in the
  83. ; "SLBBS" environment variable, if you're using one).
  84.  
  85. ;IntProt    1
  86. ;  Name     Xmodem
  87. ;  SendCmd  zmodem.exe -c -sx -p%e %f
  88. ;  RcvCmd   zmodem.exe -c -rx -p%e %f
  89. ;End IntProt
  90.  
  91. ;IntProt    2
  92. ;  Name     Xmodem/CRC
  93. ;  SendCmd  zmodem.exe -c -sc -p%e %f
  94. ;  RcvCmd   zmodem.exe -c -rc -p%e %f
  95. ;End IntProt
  96.  
  97. ;IntProt    3
  98. ;  Name     Xmodem/1k
  99. ;  SendCmd  zmodem.exe -c -sk -p%e %f
  100. ;  RcvCmd   zmodem.exe -c -rk -p%e %f
  101. ;End IntProt
  102.  
  103. ;IntProt    4
  104. ;  Name     Zmodem
  105. ;  SendCmd  zmodem.exe -c -s -p%e %f
  106. ;  RcvCmd   zmodem.exe -c -r -p%e
  107. ;End IntProt
  108.